#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2016-09-05 18:40:31
# Last Modified: 2016-12-22 15:47:21
# File Name: feedback-usersubmit.sh
# Description: 
path="/league/washroom/modify"
params='
{
}
'

body='
{
    "room_id":"washroom20161222141408hdxjnlYY7R",
    "name": "test02",
    "lng":"113.38989257819",
    "lat":"23.049316406290",
    "region_code":"440306",
    "addr_detail":"广东省深圳市宝安区石岩街道创维工业园"
}
'

url=`python ../geturl.py "${path}" "${params}"`
curl -v -k -H "host: qk.app.doubimeizhi.com"  -d "${body}" "${url}"
